package kr.hkit.powerjava.s;

class Book{
	
	private String title;  //제목
	private String author; //저자
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	@Override
	public String toString() {
		return "Book [title=" + title + ", author=" + author + "]";
	}
	
	
}

public class BookTest {
	public static void main(String[] args) {
		Book b = new Book();
		
		b.setTitle("Power Java");
		b.setAuthor("천인국,하상호");
		System.out.println(b.toString());
		
	}
}
